package cn.sharp.bbs.service;

import cn.sharp.bbs.entity.DO.Datadict;

import java.util.List;

public interface DataDictService {
    boolean hasCodeWithType(String type, int code);
    boolean hasNameWithType(String type, String name);
    int getCode(String type, String name);
    String getName(String type, int code);
    List<Datadict> listDataDict(String type);
}
